ExamPlay Light Logo
Zalogować się

Computer Science for IGCSE & O level - Programming (Section 13 - No. 47)

Which part of the program is executed based on the value of 'answer' in the case statement?
The entire program code.
The code block associated with the matching case.
The program will not run.
The ELSE statement.

Wyjaśnienie

The CASE statement directs the program to execute a specific block of code based on the value of the variable being checked.

Uwagi (0)

Zaloguj się, aby skomentować
Reklama
BrainBehindX Inc Logo
©2026; Obsługiwane przez BrainBehindX Inc